import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgZorroAntdModule } from 'ng-zorro-antd';
import { RouterModule } from '@angular/router';
import { FormsModule } from '@angular/forms';
import { NoticeComponent } from './notice.component';
import { NoticeService } from '../../services/notice/notice.service';
import { PipeModule } from '../../common/pipe/pipe.module';

@NgModule({
  imports: [
    CommonModule,
    NgZorroAntdModule,
    FormsModule,
    PipeModule,
    RouterModule.forChild([
      { path: '', component: NoticeComponent }
    ])
  ],
  declarations: [NoticeComponent],
  providers: [NoticeService]
})
export class NoticeModule { }
